import Mock from 'mockjs'

export default () => {
    Mock.mock('/menu','get',{
        'status': 200,
        'data':
        [{
            type:'user',
            name:'用户中心',
            path:'/index/userCenter'
        },{
            type:'pie-chart',
            name:'目录查询',
            children:[
                {name:'部门目录',path:'/index/departCatalog'},
                {name:'数据需求',path:'/index/dataDemand'}
            ]
        },{
            type:'laptop',
            name:'我的资源',
            children:[
                {name:'信息系统'},
                {name:'数据目录'}
            ]
        },{
            type:'notification',
            name:'我的任务',
            children:[
                {name:'目录注销工单'},
                {name:'归集工单'}
            ]
        }]
    })
}